<template>
  <div>
    <h4>呼吸频率</h4>
    <el-row type="flex" justify="space-between">
      <el-col>
        <span>呼吸频率</span>
        <div class="grid-content">
          <el-checkbox-group v-model="pgForm.huxplv">
            <el-checkbox
              v-for="item in huxplv"
              :key="item.val"
              :label="item.val">
              {{ item.val }}
            </el-checkbox>
            <el-input v-model="pgForm.huxplv_remark" placeholder="备注" style="width: 50%"></el-input>
          </el-checkbox-group>
        </div>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: "xfzzkfpgb_huxplv",
  title: "呼吸频率",
  created() {
    if (this.istrans) {
      this.pgForm = this.fromdata
    }
  },
  props: {
    fromdata: {},
    istrans: false,
  },
  data() {
    return {
      //呼吸频率
      huxplv: [{"val": "呼吸过快", "text": ""},
        {"val": "呼吸过缓", "text": ""},
        {"val": "正常", "text": ""}],
      pgForm: {
        //呼吸频率
        huxplv: [],
        huxplv_remark: '',
      },
    }
  },
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
}

.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}

</style>
